﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Data.SugarClient
{

	public class SugarRestActionParam
	{

		public SugarRestActionParam(
			string call)
		{
			this.method = call;
		}

		public string method;
		public string input_type = "json";
		public string response_type = "json";
	}

	public class SugarRestActionData { }

	public class LoginActionParam : SugarRestActionParam
	{
		public LoginActionParam(
			string call,
			LoginActionData data) : base(call)
		{
			this.user_auth = data;
		}
		public LoginActionData user_auth;
	}

	public class LoginActionData : SugarRestActionData
	{
		public string user_name;
		public string password;
	}
}
